using AppToolKit.Model.Validation;
using System;
namespace AppToolKit.Model
{
	public interface IBusinessObject<T>
	{
		void Initialize(T data);
		ValidateResultSet Valid(T data, ModifiedBehavior bechavior);
		void BeforeSave(T data);
		void AfterSave(T data);
		void BeforeUpdate(T data);
		void AfterUpdate(T data);
		void BeforeDelete(T data);
		void AfterDelete(T data);
	}
}
